<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上传框</title>
    <style>
        *{
            margin: 0 auto;
        }
        .box{
            width: 200px;
            height: 200px;
            border: 1px dashed #ccc;
            position: relative;
        }
        .box::after{
            content: "";
            display: inline-block;
            width: 1px;
            height: 100px;
            background: #ccc;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
        .box::before{
            content: "";
            display: inline-block;
            width: 100px;
            height: 1px;
            background: #ccc;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
        
    </style>
</head>
<body>
    <div class="box">
        <!-- <div class="d1"></div>
        <div class="d2"></div> -->
    </div>
</body>
</html>
